package com.yanle.pattern.singleton;

/**
 * @Description: ${todo}
 * @Author Richard
 * @Date 2018/4/11 14:51
 */
public class StaticInnerClassSingleton {
    private static class SingletonHolder {
        private static final StaticInnerClassSingleton INSTANCE = new StaticInnerClassSingleton();
    }

    private StaticInnerClassSingleton() {
    }

    public static final StaticInnerClassSingleton getInstance() {
        return SingletonHolder.INSTANCE;
    }

}
